public class Log4jRCE {

    public static void main(String[] args) {
        System.out.println("Listening on port 1234");
        String[] arguments = {"1234", (new log4j()).getClass().getClassLoader().getResource("log4j.properties").getPath()};
        Log4jRCE.main(arguments);
        System.out.println("Log4j output successfuly.");
    }

}
